package cn.wit.test;
/**
 * 测试数组，旋转90度打印
 * @author 16604
 *
 */
public class DemoTwoArraysRotateNinetyDegrees {
	public static void main(String[] args) {
		int[][] scores = { { 11, 12, 13, 14 }, { 21, 22, 23, 24 }, { 31, 32, 33, 34 } };
		printTwoArrays(scores);
	}
	
	public static void printTwoArrays(int[][] sc) {
		for(int j = 0;j<sc[0].length;j++) {
			for(int i=sc.length-1;i>=0;i--) {
				System.out.print(sc[i][j]+" ");
			}
			System.out.println();
		}
	}

}
